package com.secxiot.provider.task.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@ApiModel
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class TaskStatusUpdateVo implements Serializable {
    private static final long serialVersionUID = -2910052100122219973L;

    @ApiModelProperty(value = "状态更新是否成功，是：true ,否:false", required = true)
    private boolean success = true;

    @ApiModelProperty(value = "任务最新状态信息", required = true)
    private TaskStatusVo taskStatusVo;

    @ApiModelProperty(value = "是否上报位置信息，是：1 ,否:0", required = false)
    private int isReportLocation;
}
